package com.ynet.middleground.riskmanage.bean.hangxin;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.ynet.core.common.BaseReqObj;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import java.util.List;

/**
 * @author songyf
 * @description 获取开票结果参数信息
 * @date 2021-11-05 16:04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "获取开票结果参数信息", description = "获取开票结果参数信息")
public class QueryInvoiceResultReq extends BaseReqObj {

    private static final long serialVersionUID = -841106632673040450L;

    @XStreamAlias("NSRSBH")
    @ApiModelProperty(value = "纳税人识别号", notes = "纳税人识别号", required = true)
    @NotEmpty(message = "纳税人识别号不能为空")
    private String nsrsbh;

    @XStreamAlias("FPQQLSH")
    @ApiModelProperty(value = "发票请求流水号(发票请求流水号与单据号字段两个必须填写一个，如果都填写，按照发票请求流水号进行查询)",
        notes = "发票请求流水号(发票请求流水号与单据号字段两个必须填写一个，如果都填写，按照发票请求流水号进行查询)")
    private String fqqqlsh;

    @XStreamAlias("DJH")
    @ApiModelProperty(value = "单据号(发票请求流水号与单据号字段两个必须填写一个，如果都填写，按照发票请求流水号进行查询)",
        notes = "单据号(发票请求流水号与单据号字段两个必须填写一个，如果都填写，按照发票请求流水号进行查询)")
    private String djh;

    @XStreamAlias("FJH")
    @ApiModelProperty(value = "分机号", notes = "分机号", required = true)
    @NotEmpty(message = "分机号不能为空")
    private String fjh;

    @XStreamAlias("FPZT")
    @ApiModelProperty(value = "发票状态（默认0;0  全部发票;1  正常蓝票;2  冲红发票;3  被冲红发票;4  作废蓝票;5  作废红票）",
        notes = "发票状态（默认0;0  全部发票;1  正常蓝票;2  冲红发票;3  被冲红发票;4  作废蓝票;5  作废红票）")
    private String fpzt;
}
